package cn.edu.ujn.booking.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface UserMapper {
	List<User> findByIdentity(String identity);
	User findById(int id);
	User findUser(@Param("username") String username,	@Param("password") String password);
	User findUserByUsername(@Param("username") String username);
	int insert(User record);
	int delete(int id);
}
